Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LocalBearTestHelper: Remove check_order #4453

Merged
merged 1 commit into from Jul 10, 2017
Merged

Conversation

yash-nisar
Copy link
Member

@yash-nisar yash-nisar commented Jul 7, 2017

Remove check_order argument from check_line_result_count(...)
because the order doesn't matter while comparing length of the
results.

Closes #4451

For short term contributors: we understand that getting your commits well
defined like we require is a hard task and takes some learning. If you
look to help without wanting to contribute long term there's no need
for you to learn this. Just drop us a message and we'll take care of brushing
up your stuff for merge!

Checklist

  • I read the commit guidelines and I've followed
    them.
  • I ran coala over my code locally. (All commits have to pass
    individually.
    It is not sufficient to have "fixup commits" on your PR,
    our bot will still report the issues for the previous commit.) You will
    likely receive a lot of bot comments and build failures if coala does not
    pass on every single commit!

After you submit your pull request, DO NOT click the 'Update Branch' button.
When asked for a rebase, consult coala.io/rebase
instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will
review your PRs faster!

@yash-nisar
Copy link
Member Author

CC @Makman2 , this is a quick one. 😉

@yash-nisar
Copy link
Member Author

git grep -l check_line_result_count yields:

tests/general/InvalidLinkBearTest.py
tests/general/MementoBearTest.py

which means only 2 of our bears use check_line_result_count. I have verified that both the bears do not use the check_order argument (which is pretty obvious) just to make sure that this is not a breaking change. Same was done for the coala repository too.

@Makman2
Copy link
Member

Makman2 commented Jul 10, 2017

ack 87fa6dd

@Makman2 Makman2 added process/approved The PR is approved and will be merged soon and removed process/pending review labels Jul 10, 2017
Remove `check_order` argument from `check_line_result_count(...)`
because the order doesn't matter while comparing length of the
results.

Closes coala#4451
@yash-nisar
Copy link
Member Author

reack 0aa0777

@Makman2
Copy link
Member

Makman2 commented Jul 10, 2017

@rultor merge

@rultor
Copy link
Contributor

rultor commented Jul 10, 2017

@rultor merge

@Makman2 OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 0aa0777 into coala:master Jul 10, 2017
@rultor
Copy link
Contributor

rultor commented Jul 10, 2017

@rultor merge

@Makman2 Done! FYI, the full log is here (took me 2min)

@yash-nisar yash-nisar deleted the remove-arg branch July 10, 2017 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process/approved The PR is approved and will be merged soon size/XS
Development

Successfully merging this pull request may close these issues.

LocalBearTestHelper: Remove check_order=False from check_line_result_count
4 participants